package cn.levill.infrastructure.persistent.dao;

import cn.levill.infrastructure.persistent.po.RaffleActivity;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Levill
 * @description 抽奖活动 DAO
 * @date 2025/02/17 16:56
 */
@Mapper
public interface IRaffleActivityDao {

    /**
     * 根据活动ID查询抽奖活动
     *
     * @param activityId 活动 ID
     * @return {@link RaffleActivity }
     */
    RaffleActivity queryRaffleActivityByActivityId(Long activityId);

    Long queryActivityIdByStrategyId(Long strategyId);

    Long queryStrategyIdByActivityId(Long activityId);
}
